package com.example.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

@Data
public class Commodity {
    private Integer id;
    private String name;
    private String icon;
    private Double price;
    private Integer status;
    private Integer categoryId;
    private Integer userId;
    private String description;
    private Integer purchaserId;
    @TableField(exist = false)
    private String categoryName;
    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String statusName;
    @TableField(exist = false)
    private String purchaserName;
}
